package com.probox.common.entity.domain.wechat.broadcast;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 直播间、商品关系对象 wechat_broadcast_product_middle
 *
 * @author usoft
 * @date 2021-07-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wechat_broadcast_product_middle")
@ApiModel(description = "直播间、商品关系")
public class WechatBroadcastProductMiddle implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 自增
     */
    //默认主键自增
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID")
    private Long platformUid;

    /**
     * 直播间ID
     */
    @Excel(name = "直播间ID")
    @ApiModelProperty(value = "直播间ID")
    private Long roomId;

    /**
     * 商品Id
     */
    @Excel(name = "商品Id")
    @ApiModelProperty(value = "商品Id")
    private String productId;

    /**
     * 直播间商品ID
     */
    @Excel(name = "直播间商品ID")
    @ApiModelProperty(value = "直播间商品ID")
    private Long goodsId;

    /**
     * 上下架 【0：下架，1：上架】
     */
    @Excel(name = "上下架 【0：下架，1：上架】")
    @ApiModelProperty(value = "上下架 【0：下架，1：上架】")
    private String onSale;

    /**
     * 状态 0无效1有效
     */
    @Excel(name = "状态 0无效1有效")
    @ApiModelProperty(value = "状态 0无效1有效")
    private Long dataStatus;




}
